Add a way to start the profiler
authorMatthias Clasen <mclasen@redhat.com>
Sat, 19 May 2018 18:42:11 +0000 (19:42 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 7 May 2019 16:37:59 +0000 (09:37 -0700)
commit9e40642335e5b0b0b5eb676d79a914fcc951e6af
tree07691eac3b4d852c24645b5b6ab2eaf22de2f00f
parent032bb45ce3fa91b7c0d6b8b76334756b036cecd5
Add a way to start the profiler

If SYSPROF_TRACE_FD is set in the environment,
interpret it as an fd to write profiling data
to.

If GTK_TRACE is set, write profiling data
to a file with name gtk.$PID.syscap.
gdk/gdk.c